package com.siwei.mes;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.util.StopWatch;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @author Administrator
 */
@Slf4j
@SpringBootApplication
@EnableScheduling
@MapperScan(value = {"com.siwei.mes.mapper"})
public class MesApplication {

    public static void main(String[] args) {
        StopWatch stopWatch = new StopWatch();
        stopWatch.start();
        SpringApplication.run(MesApplication.class, args);
        stopWatch.stop();
        log.info("品控看板后台启动成功...耗时：{}s", stopWatch.getTotalTimeMillis() / 1000);
    }

}
